package com.liu.job;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * chance！Time
 *
 * @author liuqian
 * @date 2022-06-19 1:46
 * *
 */
public class JobDemo {
    SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
    /**
     * 方法名可以随意
     */
    public void doJob(){
        System.out.println(sdf.format(new Date()));
    }
}
